﻿namespace Pub.Class
{
    using System;
    using System.Data;
    using System.Data.Common;

    public interface IDbProvider : IAddIn
    {
        void DeriveParameters(IDbCommand cmd);
        string GetIdentifierEnd();
        string GetIdentifierStart();
        string GetLastIDSQL();
        string GetParamIdentifier();
        DbProviderFactory Instance();
        bool IsBackupDatabase();
        bool IsCompactDatabase();
        bool IsDbOptimize();
        bool IsFullTextSearchEnabled();
        bool IsShrinkData();
        bool IsStoreProc();
        DbParameter MakeParam(string ParamName, DbType DbType, int Size);
    }
}

